{% extends 'base.html' %}

{% block title %}分类归档情况{% endblock %}

{% block left %}
    <div>
        <ul>
            {% for rtag in postlist %}
                <li>
                    <a href="/post/{{rtag.0}}">{{rtag.1}}</a>&emsp;{{rtag.2|date:'Y-m-d H:i'}}&emsp;
                </li>
                <hr/>
            {% endfor %}
            {% for rtag in cpostlist %}
                <li>
                    <a href="/post/{{rtag.id}}">{{rtag.title}}</a>&emsp;&emsp;{{rtag.created|date:'Y-m-d H:i'}}&emsp;&emsp;
                    {{rtag.category__category}}：{{rtag.tag__tag}}
                </li>
            <hr/>
            {% endfor %}
        </ul>
    </div>

    <ul  class="pagination">
        {{page_string}}
    </ul>
{% endblock %}